﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using System.Text;
using T.FAS.Runtime.Base.Entity;
using T.ServiceComponent.DAC.Service;

namespace T.FAS.Runtime.Base.Dao
{
    public class BuildServerDao : DaoService<BuildServer>
    {
        public BuildServerDao() : base()
        {
            this.DBName = "TFAS";
        }
        public override string IDColumnName => "ID";
        public override string TableName => "FAS_BuildServer";
        public override BuildServer ConvertToObject(Dictionary<string, PropertyInfo> columns, DataRow row)
        {
            var myCol = new Dictionary<string, PropertyInfo>(base.Columns);
            var data = base.ConvertToObject(myCol, row);
            return data;
        }
    }
}
